//引用vue,这个vue是阉割版的
import Vue from 'vue'

//导入路由模块
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import { Button } from 'mint-ui';
Vue.component(Button.name, Button);

import app from './App.vue'
import router from './router.js'

var vm = new Vue({
    el: "#app",
    methods: {},
    render: createElements => createElements(app),
    //将路由挂载到vm中
    router : router
})
